using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
using Sedna.Core.Persistence;

namespace Sedna.Core
{
    /// <summary>
    /// Used to identify exceptions thrown by <see cref="PstInterceptor"/>
    /// </summary>
    [Serializable]
    public class PstProxyException : Exception, ISerializable
    {
		public PstProxyException()
		{
		}

		public PstProxyException(string message) : base(message)
		{
		}

		public PstProxyException(string message, Exception exInner) : base(message, exInner)
		{
		}

        public void GetObjectData(SerializationInfo info, StreamingContext context)
        {
            base.GetObjectData(info, context);
        }

        public PstProxyException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
        
    }
}
